//
//  DetailListModel.m
//  IpadTestB
//
//  Created by edianzu on 2017/6/29.
//  Copyright © 2017年 ruilai. All rights reserved.
//

#import "DetailListModel.h"

@implementation DetailListModel
+(instancetype)modelWithDictionary:(NSDictionary *)dict{
    return [[self alloc] initWithDictionary:dict];
}

-(instancetype)initWithDictionary:(NSDictionary *)dict{
    if (self = [super init]) {
        self.Name = dict[@"Name"];
        self.MasterId = dict[@"MasterId"];
        self.ProjectId = dict[@"ProjectId"];
        self.Rank = dict[@"Rank"];
        self.Result = dict[@"Result"];
        self.Id = dict[@"Id"];
        
        self.IsTest = [dict[@"IsTest"] boolValue];
    }
    return self;
}
@end
